Completed
Push — master ( 91b2b7...b3d439 )
by Johan
01:09
created

gulp.task(ꞌlintꞌ)   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 6
rs 9.4285
1
var gulp = require('gulp');
2
var eslint = require('gulp-eslint');
3
4
gulp.task("lint", function () {
5
	return gulp.src(['src/**/*.js'])
6
		.pipe(eslint())
7
		.pipe(eslint.format())
8
		.pipe(eslint.failAfterError());
9
});
10